package com.xiaohudie.Ioliu;

/**
 * @Author xiao hu die
 * @Date 2022/1/8 16:50
 * @Version 1.0
 */
public class BufferRead_ extends Read_{
    private Read_ read_;

    public BufferRead_(Read_ read_) {
        this.read_ = read_;
    }
    public void FileReads_(){
        for (int i =0;i<10;i++){
            read_.FileRead_();
        }
    }
    public void StringReads_(){
        for (int i =0;i<10;i++){
            read_.StringRead_();
        }
    }
}
